package Mangos::DB::Characters::InstanceReset;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'instance_reset',

    columns => 
    [
        mapid      => { type => 'integer', not_null => 1 },
        difficulty => { type => 'integer', not_null => 1 },
        resettime  => { type => 'bigint', default => '0', not_null => 1 },
    ],

    primary_key_columns => [ 'mapid', 'difficulty' ],
);

1;

package Mangos::DB::Characters::InstanceReset::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::InstanceReset' }

__PACKAGE__->make_manager_methods('instance_reset');

1;
